/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package org.jeecg.modules.charge.service;

import org.jeecg.entity.charge.ChargeBills;
import org.jeecg.entity.charge.ChargeFeeitem;
import org.jeecg.entity.charge.ChargeInvoiceRequest;
import org.jeecg.modules.charge.entity.ChargeBillsOrder;


/**
 * 订单查询DAO
 * @author litao
 *
 */
public  interface BillsOrderService  {
	//根据订单号获取对应的订单信息
	public ChargeBillsOrder getOrder(String sn);
	//插入对应的发票请求表中
	public Integer insertInvoiceReq(ChargeInvoiceRequest deail);
	//获取房间ID
	public String getRoomIdByCid(String cid);
	//更新账单
	public Integer updateBillsInvoice(ChargeBills bills);
	//根据房间ID和收费项目代号获取对应项目的税率
	public Integer getRateByRoomFeeCode(String roomid,String feecode);
	//根据代号获取对应的收费项目
	public ChargeFeeitem getFeeByCode(String fcode);
	//根据会计科目编号获取对应的会计科目名称
	public String  getSubNameByCode(String subcode);

	public void deleteInvoiceReq(String fpqqlsh);
}
